package com.reform.pojo.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author mortale
 * @since 2021-06-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admin对象", description="")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "教师工号",notes = "教师工号")
    private String gh;

    @ApiModelProperty(value = "部门编号 （0 => 超校管理员，other => 学院管理员）")
    @TableField("dep_id")
    private Integer depId;

    @ApiModelProperty(value = "管理员类型（ 0 => 查询管理员 ，1 => 操作管理员）")
    @TableField("type")
    private Integer type;
}
